package dao;

import dao.tro.Flight;
import sky.exc.DBException;
import java.util.List;

public interface IFlightDAO {
    public void update(Flight flight) throws DBException;
    public void insert(Flight flight) throws DBException;
    public List<Flight> searchForFlightsFromAirport(String departureAirportName);
    public List<Flight> searchForFlightsToAirport(String destinationAirportName);
    public List<Flight> flightList(int flightCount);
    public Flight showInformation(Long id);
}
